//
// Created by tang on 23-3-25.
//

#ifndef PIINFO_GL_RENDER_SERVICE_HPP
#define PIINFO_GL_RENDER_SERVICE_HPP

#include "service/render_service.hpp"

class gl_render_service final : public IRenderService
{
public:
    image_handle create_image_from_content (const u8 *dat, u32 size) override;
    image_handle create_image_from_file (const std::string &path) override;
    void         free_image (image_handle img) override;
    ui_view     *create_view_from_data (const u8 *dat, u32 size) override;
    ui_view     *create_view_from_file (const std::string &path) override;
};

#endif  // PIINFO_GL_RENDER_SERVICE_HPP
